package com.itheima;

public class Electrical {
// 冰箱类
//  属性：品牌、型号、颜色、售价、门款式、制冷方式
//洗衣机类
// 属性：品牌、型号、颜色、售价、电机类型、洗涤容量
//电视类
// 属性：品牌、型号、颜色、售价、屏幕尺寸、分辨率
    private String brand;
    private String model;
    private String colour;
    private double price;

    public Electrical() {
    }

    public Electrical(String brand, String model, String colour, int price) {
        this.brand = brand;
        this.model = model;
        this.colour = colour;
        this.price = price;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
